<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

</head>
<link rel="stylesheet" href="/hospital-system/bootstrap-5.3.0/css/bootstrap.css">
<body>
<nav class="navbar navbar-dark bg-dark ">
  <span class="navbar-brand mb-auto h1 col-lg-2 mr-auto my-10  navbar-nav-scroll">欢迎使用医生管理系统</span>
  <form class="form-inline">
     <input type="button" class="btn btn-outline-success my-2 my-sm-0" 
     onclick="window.location.href='/hospital-system/selectShowDoctor';" value="退出">
  </form>
</nav>
 <img src="/hospital-system/images/back.jpg" class="d-block w-100" alt="...">
      <div class="carousel-caption d-none d-md-block">
      
     <div class="row mb-3" style=" margin-top: 40px;margin-bottom: 280px">
	<div class="col-sm-6 offset-sm-3 ">
	
			<table class="table table-success table-striped">		
		  <thead class="text-center">
		 	<tr>
		 		<td>患者姓名</td>
			 	<td>患者预约时间</td>
		 	</tr>
		  </thead>
		  <tbody class="text-center">
		  	<c:forEach items="${BookedList}" var="booked" >
		  	<tr>
		  		<td>${booked.pname}</td>
			 	<td>${booked.bdate}</td>
		  	</tr>
		  	</c:forEach>
		  </tbody>	 
		</table>
       <table class="table table-success table-striped">		
		  <thead class="text-center">
		 	<tr>
		 		<td>患者总人数</td>
		 	</tr>
		  </thead>
		  <tbody class="text-center">
		  	<c:forEach items="${Bookednumber}" var="bookednum" >
		  	<tr>
		  		<td>${bookednum}</td>
		  	</tr>
		  	</c:forEach>
		  </tbody>	 
		</table>
    </div>
    </div>  
		</div>

</body>
</html>